package model

// import "fmt"

type student struct{
	Name string
	Age int
}

//工厂模式：
func NewStudent (name string,age int) student{
	var s student = student{name,age}
	return s
}

func NewStudent2 (name string,age int) *student{
	return &student{name,age}
}